{% extends "indoors.html" %}
{% load humanize %}

{% block title %}
Feedback
{% endblock title %}

{% block content %}
<h2>Send Feedback</h2>
Thank you for taking the time to send feedback

<ul data-role="listview" data-inset="true">
  <li data-role="list-divider">Feedback form</li>
  <li>
    <form action="/a/report" method="POST"> 
      {% csrf_token %}
      <input type="hidden" name="from" value="{{redirect_url}}">
      <fieldset data-role="controlgroup">
      <legend>I am reporting...</legend>
        <input type="radio" id="type-choice-1" name="type" value="Problem" checked=checked/>
        <label for="type-choice-1">Problem with the website</label>

        <input type="radio" id="type-choice-2" name="type" value="Comment"  />
        <label for="type-choice-2">General comments</label>
      </fieldset>
      <label for="text"></label>
      <textarea style="width:100%" name="text"></textarea>
      <input type="submit" value="Submit">
    </form>
  </li>
</ul>
{% endblock %}